import Vue from 'vue';
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
import App from './App.vue';
import axios from 'axios';
import VueRouter from "vue-router";
import "echarts"

import router from "./router"
import store from "./store";
Vue.use(VueRouter);
Vue.prototype.$http = axios
// Vue.prototype.$BASE_URL = "http://10.255.30.243:18080"
Vue.prototype.$BASE_URL = "http://localhost:18080"
// Vue.prototype.$BASE_URL = "http://120.26.195.12:18080"

Vue.use(ElementUI);
Vue.config.productionTip = false

new Vue({
    el: "#app",
    render: h => h(App),
    store,
    router: router
});
